<template>
  <div class="box">
    <slot name="top"></slot>
    <h3>{{title}}</h3>
    <slot name="bottom"></slot>
    <div>-------</div>
    <slot></slot>
    <hr>
    <slot name="xxx">
      <h3>插槽默认内容</h3>
    </slot>
  </div>
</template>

<script>
export default {
  name: '',
  props: ['title']
}
</script>

<style scoped>

</style>
